<script setup>
import { ref } from "vue";

const active = ref("home");
</script>

<template>
  <van-tabbar v-model="active"  active-color="#24b8db" inactive-color="#999">
    <van-tabbar-item name="home" to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item name="my" to="/my" icon="search">我的</van-tabbar-item>
  </van-tabbar>
</template>

<style lang="scss" scoped></style>
